package com.zjitc.service;

import com.zjitc.pojo.MyUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    MyUser selectUserById(int id);
    List<MyUser> selectAllUser();
    int addUser(MyUser myUser);
    int updateUser(MyUser myUser);
    int deleteUser(int id);
    List<MyUser> getUsersByPage(@Param("offset") int offset, @Param("pageSize") int pageSize);
    int getUserCount();
}
